package com.woniuxy.huayoung.service.impl;

import com.woniuxy.huayoung.entity.Order;
import com.woniuxy.huayoung.entity.Role;
import com.woniuxy.huayoung.mapper.OrderMapper;
import com.woniuxy.huayoung.mapper.RoleMapper;
import com.woniuxy.huayoung.service.OrderService;
import com.woniuxy.huayoung.service.RoleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author dushen
 * @className: OrderServiceImpl
 * @description: TODO 类描述
 * @create 2021-07-20-14:21
 */
@Service
@Slf4j
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;

    @Override
    public Role findByUid(int uid) {
        return roleMapper.findByUid(uid);
    }
}
